package com.zijin.service.user;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zijin.PageQureyDTO;
import com.zijin.dto.user.RolePathDto;
import com.zijin.entity.user.RolePath;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zijin.vo.user.RolePathVo;

import java.util.Set;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author JWei Xu
 * @since 2025-02-03
 */
public interface IRolePathService extends IService<RolePath> {

    Set<String> allowedRoutes();

    Set<String> getAllowedRoutes(Long userId);

    Page<RolePathVo> getPage(PageQureyDTO dto);

    Boolean addOne(RolePathDto rolePathDto);

    Boolean delOne(Long id);
}
